package com.gitee.swsk33.dbproduct;

import com.gitee.swsk33.dbfeign.feignclient.OrderClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.gitee.swsk33.dbproduct.dao")
@EnableFeignClients(clients = OrderClient.class)
public class DbProductApplication {

	public static void main(String[] args) {
		SpringApplication.run(DbProductApplication.class, args);
	}

}